package com.cloud.upms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan({"com.cloud.upms.dao"})
@EnableFeignClients(basePackages = {"com.cloud.api.upms.feign","com.cloud.api.file.feign"})
//@EnableAutoDataSourceProxy //开启分布式事务
public class CloudUpmsApplication {

	public static void main(String[] args) {
		SpringApplication.run(CloudUpmsApplication.class, args);
		System.out.println("(✿◠‿◠)  用户服务启动成功    (♥◠‿◠)");
	}
}
